"""
@Project ：TeachingInterfacePro 
@File    ：TestDeleteArticle.py
@IDE     ：PyCharm 
@Author  ：ceiling
@Date    ：2025/4/19 11:05 
"""
import allure
import pytest

from api.ArticleModule.DeleteArticleTypesApi import DeleteArticleTypesApi


@allure.epic('大模块标题')
@allure.feature("删除文章")
@allure.story("删除文章接口")
@pytest.mark.run(order=2)
@pytest.mark.skip
class TestDeleteArticle:

    def test_delete(self, value):
        response = DeleteArticleTypesApi().delete_article_types(value["article_name"])
        print(response.json())
        assert response.status_code == 200
